package com.lakeworks.domain;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TicketDetail extends BaseDomain {


    /**
     * 订单ID
     */
    private String orderNo;

    private Long channelId;

    private Long channelTicketId;

    private String barcode;

    /**
     * 流程ID
     */
    private Long flowId;

    /**
     * 当前节点ID
     */
    private Long nodeId;

    /**
     * 当前简述
     */
    private String summary;

    /**
     * 状态
     */
    private String status;

    /**
     * 工单类型
     */
    private String type;

    /**
     * 工单标签
     */
    private String title;

    /**
     * 优先级
     */
    private String priority;

    /**
     * 提醒时间
     */
    private Date remindAt;

    /**
     * 当前操作人
     */
    private String assignee;


    /**
     * 联系不上次数
     * */
    private Integer count;

    /**
     * 版本号
     */
    private Integer version;


    private Long relevanceId;


    private List<TktProcess> processes;

}
